widget-factory: Restore modality of the about dialog
authorMatthias Clasen <mclasen@redhat.com>
Tue, 3 Nov 2020 00:15:26 +0000 (19:15 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 3 Nov 2020 02:37:55 +0000 (21:37 -0500)
Make the about dialog of widget-factory modal again.
This was lost in 87a8fda163d419ee3e.

demos/widget-factory/widget-factory.c

index 1d81031a8e9fd0f24bad98f5e43760d1c797b502..e86ebf6ee4b2854c96d83364a07a2b3b0460595f 100644 (file)
@@ -302,6 +302,7 @@ activate_about (GSimpleAction *action,
 
   dialog = g_object_new (GTK_TYPE_ABOUT_DIALOG,
                          "transient-for", gtk_application_get_active_window (app),
+                         "modal", TRUE,
                          "program-name", "GTK Widget Factory",
                          "version", version,
                          "copyright", "© 1997—2020 The GTK Team",